lib: Fix OSTREE_CHECK_VERSION()
authorColin Walters <walters@verbum.org>
Tue, 28 Mar 2017 19:23:14 +0000 (15:23 -0400)
committerAtomic Bot <atomic-devel@projectatomic.io>
Tue, 28 Mar 2017 20:41:28 +0000 (20:41 +0000)
commitb51ce8cb0ac16074a5a3b5656247d9dd6a8884c3
tree19734344c2b08038a4bed9462b9fd4aa3c04c2bb
parent97961ed2cec379c0bbee3823503bb8fd5f67257b
lib: Fix OSTREE_CHECK_VERSION()

Actually trying to use this in rpm-ostree, it kept returning successfully when I
didn't expect it to... The first conditional was always succeeding even when I
was asking for a newer minor.

Closes: #766
Approved by: jlebon
src/libostree/ostree-version.h.in